/*package com.hy.erp.inventory.pojo;

import java.util.Date ;
import java.util.List ;

import javax.persistence.Column ;
import javax.persistence.Entity ;
import javax.persistence.FetchType ;
import javax.persistence.OneToMany ;
import javax.persistence.OneToOne ;
import javax.persistence.Table ;
import javax.persistence.Temporal ;
import javax.persistence.TemporalType ;

import org.hibernate.annotations.Index ;
//import org.jboss.seam.ScopeType ;
//import org.jboss.seam.annotations.Name ;
//import org.jboss.seam.annotations.Scope ;

import com.hy.erp.inventory.dao.interfaces.IConcessionReceivebillDao;
import com.hy.erp.inventory.pojo.interfaces.IBillType;
import com.hy.erp.inventory.pojo.interfaces.IConcessionReceivebill;
import com.hy.erp.inventory.pojo.interfaces.IMateriel;
import com.hy.erp.inventory.pojo.interfaces.IOrganisation;
import com.hy.erp.inventory.pojo.interfaces.IPerson;
import com.hy.erp.inventory.pojo.interfaces.IPutDepotType;
import com.hy.erp.inventory.pojo.interfaces.IQualityControlManner;
import com.hy.erp.inventory.pojo.interfaces.ISupplier;
import com.hy.erp.inventory.pojo.interfaces.Idepot;
import com.hy.mydesktop.shared.persistence.domain.gxt.MyBaseModel;
import com.hy.erp.inventory.pojo.interfaces.warehousing.IDisqualificationDealStyleAssist;
import com.hy.erp.inventory.pojo.interfaces.warehousing.IFewGoodsBill;
import com.hy.erp.inventory.pojo.warehousing.DisqualificationDealStyleAssist;
import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.api.annotation.DaoA;
import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.entity.AbstractPersistentEntity;

@Entity
@Name("concessionReceivebill")
@Scope(ScopeType.SESSION)
@Table(name="concessionReceivebill")
@ DaoA ( IConcessionReceivebillDao.class )
//public class ConcessionReceivebill extends AbstractPersistentEntity implements IConcessionReceivebill
public class ConcessionReceivebill extends MyBaseModel //implements IPositonType
{

	*//**
	 * <ul>
	 * <li>开发作者：李冰</li>
	 * <li>设计日期：2010-10-25；时间：下午04:16:49</li>
	 * <li>字段类型：long；字段名称：serialVersionUID</li>
	 * <li>设计目的：让步接收单</li>
	 * </ul>
	 * <ul>
	 * <b>修订编号：</b>
	 * <li>修订日期：</li>
	 * <li>修订作者：</li>
	 * <li>修订原因：</li>
	 * <li>修订内容：</li>
	 * </ul>
	 *//*
	private static final long	serialVersionUID	=
														- 1186946507564517005L ;
	@ Column ( name = "wareHousingId" , length = 50)
	@ Index ( name = "wareHousingIdIndex" )
	public  String getWareHousingId ( )
	{
		return this.get(IConcessionReceivebill.WARE_HOUSING_ID) ;
	}

	public  void setWareHousingId(
									String wareHousingId )
	{
		super.set ( IConcessionReceivebill.WARE_HOUSING_ID , wareHousingId );
	}
	

	@ Column ( name = "number" , length = 50)
	@ Index ( name = "numberIndex" )
	public  String getNumber ( )
	{
		return this.get(IConcessionReceivebill.NUMBER) ;
	}

	public  void setNumber (
									String number )
	{
		super.set ( IConcessionReceivebill.NUMBER , number );
	}
	@ OneToMany ( targetEntity = Organisation.class , fetch = FetchType.LAZY )
	public  List < IOrganisation >  getOrganisation ( )
	{
		return this.get(IConcessionReceivebill.APPLOCATION_ORGANIZATION) ;
	}

	public  void setOrganisation (
											 List < IOrganisation > organisation )
	{
		super.set ( IConcessionReceivebill.APPLOCATION_ORGANIZATION , organisation );
	}

	@ OneToMany ( targetEntity = Supplier.class , fetch = FetchType.LAZY )
	public  List < ISupplier > getSupplier ( )
	{
		return this.get(IConcessionReceivebill.SUPPLIER) ;
	}

	public  void setSupplier (
										 List < ISupplier > supplier )
	{
		super.set ( IConcessionReceivebill.SUPPLIER , supplier );
	}
	@ OneToOne ( targetEntity = depot.class , fetch = FetchType.LAZY )
	public  Idepot getDepot ( )
	{
		return this.get(IConcessionReceivebill.DEPOT) ;
	}

	public  void setDepot (
									Idepot depot )
	{
		super.set ( IConcessionReceivebill.DEPOT , depot );
	}
	@ OneToOne ( targetEntity = PutDepotType.class , fetch = FetchType.LAZY )
	public  IPutDepotType getPutDepotType ( )
	{
		return this.get(IConcessionReceivebill.WAREHOUSING_CATEGORY) ;
	}

	public  void setPutDepotType (
											IPutDepotType putDepotType )
	{
		super.set ( IConcessionReceivebill.WAREHOUSING_CATEGORY , putDepotType );
	}
	@ Column ( name = "isQualityControl" , length = 50)
	@ Index ( name = "isQualityControlIndex" )
	public  String getIsQualityControl ( )
	{
		return this.get(IConcessionReceivebill.IS_QUALITY_CONTROL) ;
	}

	public  void setIsQualityControl (
												String isQualityControl )
	{
		super.set ( IConcessionReceivebill.IS_QUALITY_CONTROL , isQualityControl );
	}
	@ OneToOne ( targetEntity = QualityControlManner.class , fetch = FetchType.LAZY )
	public  IQualityControlManner getQualityControlManner ( )
	{
		return this.get(IConcessionReceivebill.QUALITY_CONTROL_STYLE) ;
	}

	public  void setQualityControlManner (
													IQualityControlManner qualityControlManner )
	{
		super.set ( IConcessionReceivebill.QUALITY_CONTROL_STYLE , qualityControlManner );
	}
	@ OneToMany ( targetEntity = Materiel.class , fetch = FetchType.LAZY )
	public List<IMateriel>  getMateriel ( )
	{
		return this.get(IConcessionReceivebill.MATERIEL) ;
	}

	public  void setMateriel (
										List <IMateriel>  materiel )
	{
		super.set ( IConcessionReceivebill.MATERIEL , materiel );
	}
	@ OneToOne ( targetEntity = Person.class , fetch = FetchType.LAZY )
	public  IPerson getWritePerson ( )
	{
		return this.get(IConcessionReceivebill.WRITE_PERSON) ;
	}

	public  void setWritePerson (
										IPerson writePerson )
	{
		super.set ( IConcessionReceivebill.WRITE_PERSON , writePerson );
	}
	@ OneToOne ( targetEntity = Person.class , fetch = FetchType.LAZY )
	public  IPerson getDetallSheetPerson ( )
	{
		return this.get(IConcessionReceivebill.DETAIL_SHEET_PERSON) ;
	}

	public  void setDetallSheetPerson (
												IPerson detallSheetPerson )
	{
		super.set ( IConcessionReceivebill.DETAIL_SHEET_PERSON , detallSheetPerson );
	}
	@ Column ( name = "writeDate" , length = 50)
	@Temporal(TemporalType.DATE)
	public  Date getWriteDate ( )
	{
		return this.get(IConcessionReceivebill.WRITE_DATE) ;
	}

	public  void setWriteDate (
										Date writeDate )
	{
		super.set ( IConcessionReceivebill.WRITE_DATE , writeDate );
	}
	@ Column ( name = "detallSheetDate" , length = 50)
	@Temporal(TemporalType.DATE)
	public  Date getDetallSheetDate ( )
	{
		return this.get(IConcessionReceivebill.DETAIL_SHEET_DATE) ;
	}

	public  void setDetallSheetDate (
											Date detallSheetDate )
	{
		super.set ( IConcessionReceivebill.DETAIL_SHEET_DATE , detallSheetDate );
	}
	@ Column ( name = "applicationDate" , length = 50)
	@Temporal(TemporalType.DATE)
	public Date getApplicationDate ( )
	{
		return this.get(IConcessionReceivebill.APPLICATION_DATE) ;
	}

	public void setApplicationDate (
										Date applicationDate )
	{
		super.set ( IConcessionReceivebill.APPLICATION_DATE , applicationDate );
	}
	@ Column ( name = "approveDate" , length = 50)
	@Temporal(TemporalType.DATE)
	public Date getApproveDate ( )
	{
		return this.get(IConcessionReceivebill.APPROVE_DATE) ;
	}

	public void setApproveDate (
									Date approveDate )
	{
		super.set ( IConcessionReceivebill.APPROVE_DATE , approveDate );
	}
	@ OneToOne ( targetEntity = BillType.class , fetch = FetchType.LAZY )
	public IBillType getBillType ( )
	{
		return this.get(IConcessionReceivebill.BILL_TYPE) ;
	}

	public void setBillType (
								IBillType billType )
	{
		super.set ( IConcessionReceivebill.BILL_TYPE , billType );
	}
//TODO 此处不需要注解 因为不需要对数据进行存储
	public String getSeletBillNumber ( )
	{
		return this.get(IConcessionReceivebill.SELECT_BILL_NUMBER) ;
	}

	public void setSeletBillNumber (
										String seletBillNumber )
	{
		super.set ( IConcessionReceivebill.SELECT_BILL_NUMBER , seletBillNumber );
	}
	@ OneToOne ( targetEntity = Person.class , fetch = FetchType.LAZY )
	public IPerson getPrincipal ( )
	{
		return this.get(IConcessionReceivebill.PRINCIPAL) ;
	}

	public void setPrincipal (
								IPerson principal )
	{
		super.set ( IConcessionReceivebill.PRINCIPAL , principal );
	}
	@ OneToOne ( targetEntity = Person.class , fetch = FetchType.LAZY )
	public IPerson getDeliverGoodsPerson ( )
	{
		return this.get(IConcessionReceivebill.DELIVER_GOODS_PERSON) ;
	}

	public void setDeliverGoodsPerson (
											IPerson deliverGoodsPerson )
	{
		super.set ( IConcessionReceivebill.DELIVER_GOODS_PERSON , deliverGoodsPerson );
	}
	@ OneToOne ( targetEntity = Person.class , fetch = FetchType.LAZY )
	public IPerson getQualityPerson ( )
	{
		return this.get(IConcessionReceivebill.QUALITY_PERSON) ;
	}

	public void setQualityPerson (
									IPerson qualityPerson )
	{
		super.set ( IConcessionReceivebill.QUALITY_PERSON , qualityPerson );
	}
	@ OneToMany ( targetEntity = DisqualificationDealStyleAssist.class , fetch = FetchType.LAZY )
	public List<IDisqualificationDealStyleAssist>  getDisqualificationDealStyleAssist ( )
	{
		return this.get(IConcessionReceivebill.DISQUALIFICATION_DEALSTYLE_ASSIST) ;
	}

	public  void setDisqualificationDealStyleAssist (
										List <IDisqualificationDealStyleAssist>  disqualificationDealStyleAssist )
	{
		super.set ( IConcessionReceivebill.DISQUALIFICATION_DEALSTYLE_ASSIST , disqualificationDealStyleAssist );
	}
}*/
